//
//  UserEntity.m
//  WHSport
//
//  Created by ccjoy-jimneylee on 15/5/5.
//  Copyright (c) 2015年 jimneylee. All rights reserved.
//

#import "UserEntity.h"

@implementation UserEntity

- (id)initWithAttributes:(NSDictionary *)attributes {
    self = [super init];
    
    if (self) {
        _ID = attributes[@"id"];
        _loginName = attributes[@"loginName"];
        _password = attributes[@"password"];
        _nick = attributes[@"nick"];
        _sex = attributes[@"sex"];
        _userPhone = attributes[@"userPhone"];
        _address = attributes[@"address"];
        _headpic = attributes[@"headpic"];
    }
    
    return self;
}

@end
